<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:f="http://java.sun.com/jsf/core">
	
	  <h:head>
	  	<title>::...:::..TEMPPOS..:::...::</title>
	  </h:head>
	  <h:body>
	  	<h:form id="fromulario_cadastrar_editar_setor" prependId="false">
	  		<h:messages />
	  		
	  		<h:panelGrid column="2">
	  			<f:facet name="header">Edição de Grupos</f:facet>
	  			<f:facet name="footer">
	  				<div align="center">
	  					<h:commandButton value="Cancelar" action="#{setorController.cancelarController}"/>
	  					<h:commandButton value="Salvar" action="#{setorController.salvarController}"/>
	  				</div>
	  			</f:facet>
				
				<h:outputLabel value="Nome"/>
				<h:inputText value="#{setorController.setor.nome}" maxlength="40" size="40" readonly="false"/>
				
				<h:outputLabel value="Código"/>
				<h:inputText value="#{setorController.setor.codigo}" readonly="true"/>
					  			
	  		</h:panelGrid>
				  		
	  	</h:form>
	  </h:body>
</html>
